<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>重置密码</title>
</head>
<body>
    <h1>重置密码</h1>
    
    <form th:action="@{/forgot-password/reset-password}" method="post">
        <input type="hidden" name="token" th:value="${param.token}">
        
        <label for="password">请输入新密码：</label>
        <input type="password" id="password" name="password" required>
        
        <button type="submit">提交</button>
    </form>
    
    <p th:if="${param.error}">重置链接无效或已过期。</p>
    <p th:if="${param.success}">重置密码成功。</p>
</body>
</html>
